﻿<Application 
    x:Class="BathroomLocator.Phone.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:system="clr-namespace:System;assembly=mscorlib"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:converters="clr-namespace:BathroomLocator.Phone.Converters"
    xmlns:map="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps">

    <!--Application Resources-->
    <Application.Resources>
        <system:String x:Key="ApplicationNameString">bathroom locator</system:String>
        
		<converters:VisibilityConverter x:Key="VisibilityConverter" />
		<converters:DateConverter x:Key="DateConverter" />
        
        <!-- TODO: Insert your own Bing Maps API key.  Get it from www.BingMapsPortal.com -->
        <map:ApplicationIdCredentialsProvider ApplicationId="YOUR-KEY-GOES-HERE"
                                              x:Key="BingMapsAPIKey"/>
        
		<system:String x:Key="SSLCertificateUrl">http://127.0.0.1:10080/127.0.0.1.cer</system:String>
        <system:String x:Key="AuthenticationServiceEndpoint">https://127.0.0.1/AuthenticationService</system:String>
        <system:String x:Key="SharedAccessSignatureServiceEndpoint">https://127.0.0.1/SharedAccessSignatureService</system:String>
        <system:String x:Key="AzureStorageTableProxyEndpoint">https://127.0.0.1/AzureTablesProxy.axd</system:String>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>